package com.niiwoo.civet.trade.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created by Yijian on 2018/7/17.
 * 协议相关URL
 */
@Getter
@AllArgsConstructor
public enum ProtocolloUrlEnum {
	LOAN_CONTRACT( "《居间借款合同》", "?borrowerUserId=%s&projectId=%s&addInvestor=0",0),
    RISK_AGREEMENT( "《风险提示书》","",1),
    CREDITOR_AGREEMENT_BY_TRANSFEROR( "《债权转让协议》", "?investOrderId=%s&saleAmount=%s",2),//出让人
    CREDITOR_AGREEMENT_BY_ASSIGNEE( "《债权转让协议》", "?creditorSaleDetailId=%s&transferUserId=%s",2),//受让人
    CREDITOR_AGREEMENT_RISK_AGREEMENT( "《债权转让服务风险提示书》","?creditorSaleDetailId=%s&transferUserId=%s", 3);

	/**
	 * 合同名称
	 */
    private String name;
    /**
     * 合同参数
     */
    private String param;
    /**
     * 排序
     */
    private int sort;
}
